package com.cwh.taskcenter.task.converter;



import com.cwh.taskcenter.domain.task.model.UserTask;
import com.cwh.taskcenter.task.TaskReceiveCmd;

/**
 * @author cwh
 */
public class UserTaskConvert {

    public static UserTask toUserTaskDO(TaskReceiveCmd userTaskDTO) {
        UserTask userTask = new UserTask();
        userTask.setUserId(userTaskDTO.getUserId());
        userTask.setTaskId(userTaskDTO.getTaskId());
        return userTask;
    }

}
